<template>
	<div class="cart_body">
		<div class="cart_left"><img :src="imgUrl + content.goodsImg" /></div>
		<div class="cart_right">
			<p class="title">商品名称：{{ content.goodsName }}</p>
			<p>商品款号：{{ content.goodsItemNo }}</p>
			<p>工单编号：{{ content.workNo }}</p>
			<p>唯一码：{{ content.unitNo }}</p>
			<p>
				<span>交期:{{ content.replyTime }}</span>
				<span v-if="type != 'gj'">总数:{{ content.productNum }}</span>
				<span>价格:{{ content.machiningPrice }}元</span>
			</p>
		</div>
	</div>
</template>

<script>
export default {
	props: ['content', 'type'],
	data() {
		return {
			imgUrl: this.$imgUrl
		};
	},
	methods: {}
};
</script>

<style lang="scss" scoped>
.cart_body {
	display: flex;
	.cart_left {
		margin-right: 30rpx;
		img {
			border-radius: 10rpx;
			width: 140rpx;
			height: 200rpx;
		}
	}
	.cart_right {
		font-size: 24rpx;
		color: #777;
		display: flex;
		justify-content: space-between;
		padding: 0 0 10rpx 0;
		flex-direction: column;
		.title {
			font-weight: 500;
			color: #333;
			font-size: 28rpx;
		}
		p {
			span {
				margin-right: 30rpx;
			}
		}
	}
}
</style>
